//
//  underlineTextField.m
//  一点互助
//
//  Created by 张泊秋 on 16/8/22.
//  Copyright © 2016年 zhangboqiu. All rights reserved.
//

#import "underlineTextField.h"

@implementation underlineTextField

- (void)drawRect:(CGRect)rect {
    CGContextRef context = UIGraphicsGetCurrentContext();
    CGContextSetFillColorWithColor(context, [UIColor blackColor].CGColor);
    CGContextFillRect(context, CGRectMake(0, CGRectGetHeight(self.frame) - 5, CGRectGetWidth(self.frame), 1));
}




@end
